package cn.sumpu.app.coolsk.biz;


import java.util.List;

import cn.sumpu.app.coolsk.domain.Product;
import cn.sumpu.app.coolsk.domain.ProductPrice;
import cn.sumpu.app.coolsk.exception.AppBusinessException;
import cn.sumpu.toolkit.common.page.PageModel;


public interface ProductBiz {
	public PageModel getProductList(Integer page,Integer pagesize,String name,String type, String company) throws AppBusinessException; 
	
	public Product saveProduct(Product product)throws AppBusinessException; 
	
	public Product getProductById(String id)throws AppBusinessException;
	
	public Product delProduct(String id)throws AppBusinessException;
	
	public ProductPrice getTodayPrice(Product product)throws AppBusinessException;
	
	public List<ProductPrice> resPriceList(Product product)throws AppBusinessException;
	
	public ProductPrice getDayPrice(Product product,String date) throws AppBusinessException;
	
	public List<ProductPrice> getProductPrice(String productId)throws AppBusinessException;
	
	public void saveProductPrice(String productId,String tpList)throws AppBusinessException;
	
}
